/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: dings
 * Date: 2024-05-28
 * Time: 18:49
 */
public class Test {
    public static void main(String[] args) {
        StringBuilder stringBuilder = new StringBuilder("wow");
        for (int i = 0; i <= 5; i++) {
            stringBuilder.append(i);
        }
        //stringBuilder = stringBuilder.reverse();
        stringBuilder.insert(3,"hahaha");
        String s1 = stringBuilder.toString();
        System.out.println(s1);
    }
    public static void main2(String[] args) {
        String s1 = "";
        for (int i = 0; i <= 100; i++) {
            s1 = s1 + i;
        }
        System.out.println(s1);
    }
    public static void main1(String[] args) {
        final int[] arr = {1,2,3,4,5};

        arr[1] = 200;

       // arr = new int[10];
    }
}
